//
//  SNCustomLabel.m
//  project
//
//  Created by 黄建华 on 2017/11/24.
//  Copyright © 2017年 黄建华. All rights reserved.
//

#import "SNCustomLabel.h"

@implementation SNCustomLabel

/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect {
 // Drawing code
 }
 */
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self loadLabel];
    }
    return self;
}

- (void)loadLabel {
    self.textAlignment = NSTextAlignmentCenter;
    self.textColor     = UIColorHEX(0x161616);
    self.font          = SNFONTDIN1451Engschrift(18);
}

@end

